package linkwechat.mapper.LinkMenuMapper;

import linkwechat.pojo.LinkMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LinkMenuMapper {

    @Select("select * from sys_menu where parent_id = 0;")
    List<LinkMenu> getFristMenu();

    List<LinkMenu> getZuoCheMenu(Long id);

    List<LinkMenu> getZuoCheMenuChil();

}
